from django import template

register = template.Library()

@register.simple_tag
def ugrad_calendar_link(department, code):
    return "http://ugradcalendar.uwaterloo.ca/courses.aspx?Code=%s&Number=%s" % (department, code)

